package com.songlanyun.modules.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

/**
 *
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-09 11:27:07
 */
@Data
@TableName("yxt_coupon_receive_record_use")
public class CouponReceiveRecordUseEntity extends RootEntity<Long, CouponReceiveRecordUseEntity> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long id;
	/**
	 * 领取记录id
	 */
	private Long couponReceiveRecordId;
	/**
	 * 店铺订单id
	 */
	private Long orderId;
	/**
	 * 店铺订单编号
	 */
	private String orderCode;
	/**
	 * 优惠券实际优惠多少
	 */
	private BigDecimal couponResultValue;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
